﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Cn.Edwon.Data {
    public class AccessSupport {
        private String _ErrInfo;
        public String ErrInfo { set { _ErrInfo = value; } get { return _ErrInfo; } }

        private String _Sql;
        public String Sql { set { _Sql = value; } get { return _Sql; } }

        private String _ConnectString;
        public String ConnectString {
            set { _ConnectString = value; }
            get { return _ConnectString; }
        }
        public String Filte(String str) {
            if (str != null) {
                return str.Replace("'", "''");
            } else {
                return null;
            }
        }
    }
}
